package wx.event.entity.resp;

import java.util.Map;

/**
 * 模版消息结构
 * @author why
 *
 */
public class Template {
	private String touser;//接收人的openId
	private String template_id;//模版id
	private String url;//点击模版访问url
	private String topcolor;//消息头部颜色
	private Map<String,TemplateData> data;//消息内容
	public Template() {
		super();
	}
	public Template(String touser, String template_id, String url,
			String topcolor, Map<String, TemplateData> data) {
		super();
		this.touser = touser;
		this.template_id = template_id;
		this.url = url;
		this.topcolor = topcolor;
		this.data = data;
	}
	public String getTouser() {
		return touser;
	}
	public void setTouser(String touser) {
		this.touser = touser;
	}
	public String getTemplate_id() {
		return template_id;
	}
	public void setTemplate_id(String template_id) {
		this.template_id = template_id;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getTopcolor() {
		return topcolor;
	}
	public void setTopcolor(String topcolor) {
		this.topcolor = topcolor;
	}
	public Map<String, TemplateData> getData() {
		return data;
	}
	public void setData(Map<String, TemplateData> data) {
		this.data = data;
	}
	
}
